package com.woniu.scss.service;

import com.woniu.common.utils.PageParam;
import com.woniu.common.utils.ResponseData;
import com.woniu.scss.dto.OrderSearchDTO;
import com.woniu.scss.dto.SendOutDTO;
import com.woniu.scss.pojo.Order;
import com.baomidou.mybatisplus.extension.service.IService;
public interface OrderService extends IService<Order>{


    ResponseData<?> selPayMethod();

    ResponseData<?> searchOrderByCondition(PageParam<OrderSearchDTO> pageParam);

    ResponseData<?> selOrderDetail(String orderId);

    ResponseData<?> handleDispatchList(String orderId);

    ResponseData<?> handleDeliverGoods(String orderId);

    ResponseData<?> sendOut(SendOutDTO sendOutDTO);

    /***
     * 添加从中移接收到的订单（已付款）
     * @param orderMessage
     * @return
     */
    ResponseData<?> addOrderFromZy(String orderMessage);

    boolean shouhouChangeOrderStatus(String orderId);

    /**
     * @description:&#x4E2D;&#x79FB;&#x63A8;&#x9001;&#x7684;&#x8BA2;&#x5355;&#x5DF2;&#x7B7E;&#x6536;
     * @param: null
     * @return:
     * @author ltyipx
     * @date 2024/8/16 17:20
     */
    boolean shouhuoFromZy(String orderId, String orderDetailId);

    boolean quxiaoShouhouChangeOrderStatus(String orderId);
}
